#include "person2.h"

class student : protected person
{
    public:
        student(){
            cout << "student()" << endl;
            name = "Jhon";
            age = 18;
        }
        ~student();
};

int main()
{
    student stu;
    stu.name = "lucy";
    stu.age = "16";
}